const showdown = require("showdown");

converter = new showdown.Converter(),
text = `
# hello, markdown!
first 

# test, markdown
second

# test, markdown
third
`,
html = converter.makeHtml(text);

console.log(text)
console.log(html)